package com.app.internationaltravel.dao;

import com.app.internationaltravel.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @author 刘豆豆
 * @date 2022/12/12
 */

public interface UserDao extends BaseMapper<User> {

  @Update("update t_user set password=#{password} where phone=#{phone}")
  int updatePass(@Param("password")String password, @Param("phone") String phone);
}
